updated css and js for mobile