Prevent mobile functions from being included on desktop mode.
Add a method to pile checks for mobile device