position next next or previous previous on next and previous button click respectively