Removed hardcoded window size