changed fadein function to alter visibility from hidden to visible first in order to stop height shift on ipads