 
     previous_page: ->
         if @props.page > 0
+            @reset_cursor()
             @actions(name).setState(page: @props.page-1)
 
     next_page: ->
+        @reset_cursor()
         @actions(name).setState(page: @props.page+1)
 
     search_string: (x) ->  # SMELL: this code is ugly, but can be easily changed here only.

        search           : rtypes.string
        actions          : rtypes.object.isRequired
        selected         : rtypes.object
        increment_cursor : rtypes.func
        decrement_cursor : rtypes.func

    open_selected: (value, info) ->
        e = @props.selected?.event

            return
        @setState(cursor_index : @state.cursor_index - 1)

    reset_cursor: ->
        @setState(cursor_index : 0)

    render_paging_buttons: (num_pages, cur_page) ->
        <ButtonGroup>
            <Button onClick={@previous_page} disabled={@props.page<=0} >
