fixed reference to mainscreen height