make window smaller; front end index