Added a wake lock to prevent the tablet from sleeping. The auto mode will start from the next of the last selected location. Added css effects for the selected thumbnail.