modified database previous/next buttons, changed div colors and alignment