size things based on window