changed button location based on window size