display upload photo button for mobile phones and tablets and hide it for desktops
clean up identation