Updating mixins  to accept width and height as params