Fix css and js error with upload photo mobile

Principal PR https://github.com/diaspora/diaspora/pull/4004