Added viewport in index and fixed image size