Add new functions for screen and gridView sizes.