added if statement for mobile and mobile js responsiveness

needs to be cleaned up in css