updated gallery behavior

updated gallery behavior to have focus ability per picture. even for
vertical pictures.