set up layout methods
implemented left and right button pressed methods
set up image transforms