simply changed canvas size basesd on options