added helper files with mobile device detection, dont set focus if mouse (or pointer) is over the sidebar if it is a mobile device