add max width and height options