This code works on both desktop and mobile Click here