added window size option to frontend