added mobile variable and set stuff to only work on desktop