Trying to make work on handheld devices
changes
some adjustments for mobile