Attach grid to dynamic axis

Signed-off-by: Oleg Bulatov <dmage@yandex-team.ru>