Fixed container height for all devices, added showBounds option, misc refactoring