Fixed pan options. Fixed shadow inconsistency. Fixed menu resizing bug.
Fixed bug when loading from storyboard.