add single mode shelf layout and init Gallery and its itemclick itemLongClick function