fix css and js error with upload photo mobile