fixing vertical layout