Allow sticking to either top or bottom of window