window opens at the bottom of the form instead of the top