added fadeout depending on device height