Add methods for window positioning