fixing pictures resize