added emergency button
added thumbnail border