change window dimensions to constants