positioning and hiding correctly