Goal:
When you have a lower resolution that is lower than 500 in your computer or cellphone I would like to remove the icon picture and its functionality shall not be active.
Problem:
I don't know how to do it.
Info:
http://jsfiddle.net/sL3c1v12/14/
Please remember that I would like to change with browser's width using the cursor without refreshing the webpage in order to not display or display the icon and its functionality
The source code is from this website http://markgoodyear.com/labs/scrollup/