fix for position off when panel from top
fix for panel when at right edhe
added trim to line when adding blockformat