Implemented code for next/prev article buttons