Improve responsive behaviour of pictures and dialogs