update layout
Update image
Close slider panel by pressing back key