Call deselect on previously seleceted tab when new tab is selected.
Update next/previous image.
remove commented out styles.