Adding methods for window size and position