Improved mobile detection, touch event handling and fixed small Z-index bug.