Fix top and bottom position notifications (#14636)

Change-Id: I278446e473e4e063a5c6c9be13bd2a1b0ca04a5c