Use outterHeight and width instead of innerHeight and width