Error checking with devices_prev button

The prev button is now disabled on startup, and when the offset value becomes 0. When the offset is > 0 and the button is disabled, the devices_next() function re-enables the button.