centring the library image
view article should not be initially active
refactoring canvas. Width will be equal to the window innerWidth