hatchddigital/slide — pull request #3 by shadowmint (2013-11-13 06:21:59+00:00)
Title: Update the controls after setting the new active state

Fixes it so the 'display next arrrow?', 'display prev arrow?' logic is checked for the 'current' state.

The current logic results in odd behavior at the edges; specifically the last page has '< >' instead of '<' because it's running the logic against the previous active record, and if you start with '>' and hit next, prev, you get '< >' instead of just '<'.